package com.du.springmvc.pojo;

/**
 * @author : DuJiabao
 * @Date : 2021/3/29 19:33
 * @Project : spring-mvc
 * @File : null.java
 * @Desc :
 */

public class Person {
  private Integer id;
  private String name;

  public Person() {
  }

  public Person(String name, Integer id) {
    this.name = name;
    this.id = id;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }

  @Override
  public String toString() {
    return "Person{" +
            "name='" + name + '\'' +
            ", id=" + id +
            '}';
  }
}
